package com.wsj.service;

import java.util.List;

import com.wsj.util.exception.BusinessException;
import com.wsj.util.page.PageResultSet;
import com.wsj.web.vo.homeSite.HomeSiteAdBannerDescription;

public interface IHomeSiteAdBannerDescriptServ {

	public void add(HomeSiteAdBannerDescription hsd) throws BusinessException;
	
	public void update(HomeSiteAdBannerDescription hsd) throws BusinessException;
	
	public void delete(HomeSiteAdBannerDescription hsd) throws BusinessException;
	
	public HomeSiteAdBannerDescription loadHsAdBannerById(Integer id) throws BusinessException;
	
	public HomeSiteAdBannerDescription loadByClassIdAndName(Long classId,String name) throws BusinessException;
	
	public List loadByNewsClassId(Long newsClassId) throws BusinessException;
	
	public PageResultSet loadPageList(Long newsClassId,String description,Integer page, Integer pageSize) throws BusinessException;
}
